package com.hotel.config;

public class DatabaseConfig {
        public static final String URL = "jdbc:mysql://localhost:3306/hotel_management?useSSL=false&serverTimezone=Asia/Shanghai";
    public static final String USER = "root";
    public static final String PASSWORD = "11111";

    public DatabaseConfig() {}
    static {
        try {
            Class.forName("com.mysql.cj.jdbc.Driver");
        } catch (ClassNotFoundException e) {
            throw new RuntimeException("MySQL JDBC Driver not found", e);
        }
    }
}